- 
		Home
	
 
	- 
KimaAI | AI Chatbot, ChatGPT content writer and more
 
- 
1.3.4
 
- 
Code
 
- 
Classes
 
-  UserTools 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											102 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											475 | 
										
																			
											| Lines of code | 
											354 | 
										
																			
											| Logical lines of code | 
											205 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											59 | 
										
																			
											| Methods | 
											18 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 18
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| invoke() | 
									A  | 
																	46 | 
													14 | 
													35 | 
							
					
				| extractLastDocComment() | 
									A  | 
																	52 | 
													12 | 
													23 | 
							
					
				| scanSignatureWithReflection() | 
									A  | 
																	44 | 
													10 | 
													44 | 
							
					
				| schemaFromPhpDocType() | 
									A  | 
																	48 | 
													8 | 
													32 | 
							
					
				| mapPhpTypeToJson() | 
									A  | 
																	47 | 
													7 | 
													38 | 
							
					
				| schemaForParam() | 
									A  | 
																	54 | 
													8 | 
													20 | 
							
					
				| inferParametersSchemaFromCode() | 
									S  | 
																	48 | 
													6 | 
													33 | 
							
					
				| normalizeSchema() | 
									S  | 
																	55 | 
													6 | 
													19 | 
							
					
				| ensureFunctionDefined() | 
									S  | 
																	52 | 
													5 | 
													24 | 
							
					
				| optionsForSelect() | 
									S  | 
																	58 | 
													5 | 
													15 | 
							
					
				| buildToolDefinitions() | 
									S  | 
																	53 | 
													4 | 
													23 | 
							
					
				| parseDocParams() | 
									S  | 
																	61 | 
													4 | 
													12 | 
							
					
				| addChatbotTools() | 
									S  | 
																	65 | 
													4 | 
													8 | 
							
					
				| indexByName() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| boot() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| sanitizePhpCode() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| getAllCustomFunctions() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| findByName() | 
									S  | 
																	74 | 
													1 | 
													4 |